package com.hupu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
@EnableZuulProxy        //开启网关服务
@EnableDiscoveryClient //是之可以访问eureka
public class ZuulDemo {
    public static void main(String[] args) {
        SpringApplication.run(ZuulDemo.class);
    }
}
